package com.lovo.csc.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@TableName("csc_orderInfo")
@Getter
@Setter
@NoArgsConstructor
/**
 * 供货批次表
 */
public class OrderInfoBean {
    /**
     * 主键id
     */
    @TableId(value = "pk_orderInfoId",type = IdType.AUTO)
    private long orderInfoId;
    /**
     * 供货订单主键
     */
    @TableField("fk_orderIdNum")
    private  String orderIdNum;
    @TableField("oi_goodsSpecs")
    /**商品规格
     *
     */
    private String goodsSpecs;
    /**
     * 商品数量
     */
    @TableField("oi_goodsNum")
    private int goodNum;
    /**
     * 订单金额
     */
    @TableField("oi_orderPrice")
    private float orderPrice;
    /**
     * 商品价格
     */
    @TableField("oi_shopPrice")
    private  float shopPrice;
    /**
     * 订单状态0--已供货 1---已入库 2---已付款 3---已退货
     */
    @TableField("oi_orderState")
    private int orderState;
    /**
     * 批次编号
     */
    @TableField("oi_idNum")
    private String idNum;
}
